//
//  EvaluateFooterView.h
//  BaseProject
//
//  Created by 王洋 on 2020/9/13.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EvaluateOrderSubmitModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, EvaluateFooterViewActionType) {
    //
    EvaluateFooterViewActionType_star,
    //
    EvaluateFooterViewActionType_content,
    
    EvaluateFooterViewActionType_addPhoto,
    
    EvaluateFooterViewActionType_delPhoto,

};

@interface EvaluateFooterView : UIView

@property (weak, nonatomic) IBOutlet UIView *starBGView;

@property (weak, nonatomic) IBOutlet UITextView *contentTV;

@property (weak, nonatomic) IBOutlet UILabel *starLab;


@property (weak, nonatomic) IBOutlet UICollectionView *collectionview;

@property (nonatomic, copy) void(^EvaluateFooterViewActionBlock )(EvaluateFooterViewActionType type, CGFloat score, NSInteger index, NSString *content);

@property (nonatomic, strong) EvaluateOrderSubmitModel *model;



- (void)fillFooterWithModel:(EvaluateOrderSubmitModel *)model;

@end

NS_ASSUME_NONNULL_END
